<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Insert title here</title>
<script src="https://ajax.aspnetcdn.com/ajax/jquery/jquery-3.5.1.min.js"></script>
<script type="text/javascript">
$(function(){
	$("#input1").click(function(){
		alert("试试就试试")
	})
})
</script>
</head>
<body>
<input id="input1" type="button" value="点我试试">
</body>
</html>